<?php

use think\facade\Route;

Route::group('api', function () {
    // 图片上传
    Route::post('upload', 'api.Index/upload');
})->middleware('check_login', 'user');
